﻿using System;
using Tasks247.Data;

namespace Tasks247.Views
{
    public class CreateTaskView
    {
        public CreateTaskView(ITasksRepository repository)
        {
            int newId = repository.Create("task" + Guid.NewGuid(), "note" + Guid.NewGuid());
            Console.WriteLine("{0} created", newId);
        }
    }
}